 
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@ taglib prefix="menu" uri="http://struts-menu.sf.net/tag"%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="com.edu.hre.common.utils.RequestUtils"%>
<%@ page import="net.sf.navigator.menu.*"%>
<%@ page import="java.util.Set"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="com.edu.hre.db.pojo.HreUser"%>
<%@ page import="com.edu.hre.common.cache.PassiveDynaCache"%>
<%@ page import="com.edu.hre.common.utils.BeanFinder"%>
<%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles"%>

<% 
	PassiveDynaCache passiveDynaCache = BeanFinder.getBean(PassiveDynaCache.BEAN_NAME, PassiveDynaCache.class);
	HreUser user = (HreUser) request.getSession().getAttribute(RequestUtils.Attribute.USER_INFO);
	String key = RequestUtils.Attribute.MENU_ROLES + user.getUserRoleId();
	String htmlMenuTag = (String) passiveDynaCache.getCachedItem(key);
%>
<div style="position: relative">
	<div id="top-menu">
		<div id="topMenuLogo"></div>
		<ul id="nav" onmouseout="menuExited();">	
			<%=htmlMenuTag%>
		</ul>
	</div>
</div>